<%--
  Created by IntelliJ IDEA.
  User: zhangkeke
  Date: 2022/10/1
  Time: 17:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script>
        onload=function (){
            var btn = document.getElementById("btn");
            btn.onclick=function (){
                var inp = document.getElementById("inp");
                var username = inp.value;
                location.href="http://localhost:8089/findAll?username="+username;
            }
        }
    </script>
</head>
<body>
<a href="/findAll">查询所有学生信息</a><hr>
    <input type="text" placeholder="姓名模糊查询" id="inp" name="username">
<button id="btn">点击模糊查询</button>



</body>
</html>
